#ifndef __USART1__H__
#define __USART1__H__

typedef struct USART1_INTERFACE_S
{
	void (*send_char)(unsigned char);
	void (*send_string)(unsigned char *);
	void (*send_int)(int, int);
	void (*send_array)(void *, int, int, int);
	void (*send_crlf)(int);
	void (*send_mem)(unsigned char *, unsigned int);
} USART1_INTERFACE_T, *USART1_INTERFACE_P;

extern void usart1_init(unsigned int);
extern void usart1_get_interface(USART1_INTERFACE_P *);

#endif
